package com.iwunu.gateway.constant;

/**
 * @author kinfeng
 * @date 2019/5/29 11:47 AM
 * @description 获取随机数
 */
public enum RandomNum {
    FOUR_NUM{public Integer randomNum(){return (int)(Math.random()*(9999-1000+1))+1000 ;}},
    SIX_NUM{public Integer randomNum(){return (int)(Math.random()*(999999-100000+1))+100000 ;}};


    public abstract Integer randomNum();
}
